function startvm
  VBoxManage startvm $argv[1] --type headless
end

function stopvm
  VBoxManage controlvm $argv[1] acpipowerbutton
end